#!/bin/bash
cd /home/alfaceor/data-phd/alfaXY_TwoHB/Case002
N=2000
N=`printf "%010d" ${N}`
U0=1.00
T1=0.00
T2=0.00
ntrials=64

SUBDIR01=N_${N}__U0_${U0}
SUBDIR02=T1_${T1}__T2_${T2}

mkdir -p ${SUBDIR01}
mkdir -p ${SUBDIR01}/${SUBDIR02}

#INIFILE=N_${N}__U0_${U0}__T1_${T1}__T2_${T2}__id_${job_id}.ini

cd ${SUBDIR01}/${SUBDIR02}
 
cp ~/Projects/ceor-phd/alfaXY_TwoHB/Version_002/InputParams.prm .
for j in $(seq 1 ${ntrials})
do 
  job_id=`printf "%05d" ${j}`
  echo $j $job_id
  genIniCond.py -N ${N} -u ${U0} -1 ${T1} -2 ${T2} -j ${job_id}
done

